package org.misty.seckill.service;

import org.misty.seckill.model.User;

import java.util.List;

public interface UserService {
  User getById(long id);

  User getByToken(String token);

  User insertUser(User user);

  List<User> listUsers();
}
